package com.spark.lola.entity.gds;

import com.baomidou.mybatisplus.annotation.TableName;
import com.spark.lola.support.common.constant.CommonConstant;
import com.spark.lola.support.mybatis.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengyejun
 * @since 2020-04-27
 */
@TableName("gds_category_info")
@ApiModel(value="产品分类", description="产品分类")
public class CategoryInfo extends BaseModel implements Serializable {
    private static final long serialVersionUID=1L;
    public CategoryInfo(){}
    @ApiModelProperty(value = "编码")
    private String no;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "状态")
    private String used= CommonConstant.Y;

    @ApiModelProperty(value = "排序")
    private Integer sort=0;

    
    
    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }
    
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
    @Override
    public String toString() {
        return "CategoryInfo{" +
            "no=" + no +
            ", name=" + name +
            ", used=" + used +
            ", sort=" + sort +
            "}";
    }
}
